<div class="user_info">
<?php if ($this->_var['user_info']): ?>
<?php echo $this->_var['lang']['hello']; ?>，<span class="f1"><?php echo $this->_var['user_info']['username']; ?></span>， <?php echo $this->_var['lang']['welcome_return']; ?>！
<a href="user.php"><?php echo $this->_var['lang']['user_center']; ?></a> | <a href="user.php?act=logout"><?php echo $this->_var['lang']['user_logout']; ?></a>
<?php else: ?>
<?php echo $this->_var['lang']['welcome']; ?>！
 请先<a href="user.php?act=login" title="登录">登录</a>或<a href="user.php?act=register" title="注册">注册</a>
<?php endif; ?>
</div>